diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-02-23 20:00:05 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-06-28 15:52:38 +0200 |
commit | 69734ef9828854aa668b104d47e08526b7a2bed0 (patch) | |
tree | 723c03ac33995dc3f6d4faf4a7a0f34569dc39be /Makefile | |
parent | 49fb496527a3557ee44cc0ac210eba2ca8dd7bc6 (diff) |
doublenull: add unit tests
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,9 +12,12 @@ $(TARGET): $(OBJS) %.o: %.c $(CC) $(CFLAGS) -MMD -MF $(@:.o=.d) -MT $@ -c -o $@ $< +test: $(TARGET) + LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH python3 -m unittest + clean: -rm -f *.o *.d $(TARGET) -include $(OBJS:.o=.d) -.PHONY: clean +.PHONY: clean test |