diff options
author | bloodstalker <thabogre@gmail.com> | 2017-12-27 22:45:07 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-12-27 22:45:07 +0000 |
commit | c1a18fdf2e0ce8dcdc8c2868ec4ce81b6c1b833e (patch) | |
tree | 8175cbc055981a88712db4ece63fc2af46e1ff6b /makefile | |
parent | wip (diff) | |
download | memdump-c1a18fdf2e0ce8dcdc8c2868ec4ce81b6c1b833e.tar.gz memdump-c1a18fdf2e0ce8dcdc8c2868ec4ce81b6c1b833e.zip |
wip
Diffstat (limited to '')
-rw-r--r-- | makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -7,9 +7,13 @@ CC_FLAGS+=$(CC_EXTRA) .DEFAULT:all clean -.PHONY:all clean $(TARGET) help +.PHONY:all clean $(TARGET) help dirs -all:$(TARGET) +all: dirs $(TARGET) + +dirs: + if [[ ! -d obj ]]; then mkdir obj;fi + if [[ ! -d libs ]]; then mkdir libs;fi .c.o: $(CC) $(CC_FLAGS) -c $< -o $@ |