forked from 131/lab3_test
add aux branch
This commit is contained in:
12
Makefile
12
Makefile
@@ -1,16 +1,16 @@
|
||||
CFLAGS=-Wall -I munit -ggdb
|
||||
unittest_obj=munit/munit.o
|
||||
|
||||
all: str_bin str_test
|
||||
all: aux_bin aux_test
|
||||
|
||||
str_test: $(unittest_obj) str_lib.o str_test.o
|
||||
aux_bin: aux_bin.o aux_lib.o
|
||||
$(CC) $(CFLAGS) -o $@ $^
|
||||
|
||||
str_bin: str_lib.o str_bin.o
|
||||
aux_test: $(unittest_obj) aux_lib.o aux_test.o
|
||||
$(CC) $(CFLAGS) -o $@ $^
|
||||
|
||||
test: ./str_test
|
||||
./str_test
|
||||
test: ./aux_test
|
||||
./aux_test
|
||||
|
||||
clean:
|
||||
rm *_bin *.o $(unittest_obj) str_test
|
||||
rm *_bin *.o $(unittest_obj) aux_test
|
||||
|
||||
Reference in New Issue
Block a user