diff options
author | Oskar <[email protected]> | 2024-04-19 13:52:47 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-04-19 13:52:47 +0200 |
commit | 9f2ccf988319c256f725f2fd4f9e69762ff144ac (patch) | |
tree | 99b3887fcfcf348d86a38527345afc8ea656176a | |
parent | 09a6f8a344aa4cefab113a52b4088bfcb8c32b47 (diff) |
Small changes. I was gonna do more changes but theres no point.
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -5,6 +5,7 @@ TARGET=7ed TESTTARGET=7ed-TESTING INSTALL_DIRECTORY=/usr/local/bin MAKEFLAGS += -s +SRCS=7ed.c functions.c startmode.c editmode.c input.c i_validation.c process_multiples.c all: release clean: @@ -17,7 +18,7 @@ clean: tests: echo "CC 7ed.c functions.c startmode.c editmode.c i_validation.c process_multiples.c ---> test/$(TESTTARGET)" - $(CC) $(CFLAGS_TESTBIN) 7ed.c functions.c startmode.c editmode.c input.c i_validation.c process_multiples.c -o test/$(TESTTARGET) + $(CC) $(CFLAGS_TESTBIN) $(SRCS) -o test/$(TESTTARGET) install: cp $(TARGET) $(INSTALL_DIRECTORY) @@ -25,5 +26,5 @@ install: release: echo "CC 7ed.c functions.c startmode.c editmode.c i_validation.c process_multiples.c ---> $(TARGET)" - $(CC) $(CFLAGS) 7ed.c functions.c startmode.c editmode.c input.c i_validation.c process_multiples.c -o $(TARGET) + $(CC) $(CFLAGS) $(SRCS) -o $(TARGET) echo "$(TARGET) is done." |