17 lines
285 B
Makefile
17 lines
285 B
Makefile
CFLAGS=-Wall -I munit -ggdb
|
|
unittest_obj=munit/munit.o
|
|
|
|
all: aux_bin aux_test
|
|
|
|
aux_bin: aux_bin.o aux_lib.o
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
aux_test: $(unittest_obj) aux_lib.o aux_test.o
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
test: ./aux_test
|
|
./aux_test
|
|
|
|
clean:
|
|
rm *_bin *.o $(unittest_obj) aux_test
|