|
|
|
@ -164,6 +164,8 @@ uninstall:
|
|
|
|
|
-rmdir $(DESTDIR)$(PREFIX)/include/$(PROJECT)/internal
|
|
|
|
|
-rmdir $(DESTDIR)$(PREFIX)/include/$(PROJECT)
|
|
|
|
|
|
|
|
|
|
$(PROJECT)-test: lib$(PROJECT).so
|
|
|
|
|
$(CC) $(CFLAGS) src/test/*.c -o $@ -l:$< -lfmt -Wl,-flto -Wl,-O3 $(LDFLAGS)
|
|
|
|
|
$(PROJECT)-test: LDFLAGS+= -lfmt -lstdc++
|
|
|
|
|
$(PROJECT)-test: CFLAGS+= -Og -g
|
|
|
|
|
$(PROJECT)-test: lib$(PROJECT)-debug.a
|
|
|
|
|
$(CC) $(CFLAGS) src/test/*.c -o $@ -l:$< $(LDFLAGS)
|
|
|
|
|
-valgrind ./$@
|
|
|
|
|