Have Makefile create bin folder
This commit is contained in:
parent
a952a10759
commit
9b1aa055e0
2
Makefile
2
Makefile
@ -5,5 +5,5 @@ OBJDIR=bin
|
||||
|
||||
# Use variables for source and object files
|
||||
ip-lookup: $(SRCDIR)/main.c
|
||||
@mkdir -p $(OBJDIR)
|
||||
$(CC) -o $(OBJDIR)/ip-lookup $(SRCDIR)/main.c $(CFLAGS)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user