Skip to content

Commit

Permalink
Make "regressiontest" target the default target
Browse files Browse the repository at this point in the history
Now a plain "make" command will run the actual test.
  • Loading branch information
stevemarple committed Dec 28, 2020
1 parent 971b90a commit dac2d6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extras/test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DIFF = diff
RM = rm -f
CXXFLAGS += -ggdb -Wall -I.

default: ini_test
default: regressiontest

.PHONY : IniFile.h
IniFile.h : ../../src/IniFile.h
Expand Down Expand Up @@ -42,14 +42,14 @@ regressiontest :
@echo TEST PASSED

.PHONY : clean
clean :
clean :
-$(RM) *.o IniFile.h IniFile.cpp ini_test.regressiontest.tmp

.PHONY : realclean
realclean : clean
-$(RM) -f ini_test

readtest : readtest.o File.o IniFile.o IPAddress.o
readtest : readtest.o File.o IniFile.o IPAddress.o
$(CXX) $(CXXFLAGS) $^ $(LDFLAGS) -o $@

readtest.o : readtest.cpp IniFile.h
Expand Down

0 comments on commit dac2d6b

Please sign in to comment.