Updated Makefile to include the new header file
modified: src/Makefile modified: src/obj/.gitignore
This commit is contained in:
parent
3f2b28a352
commit
0567e7f3b6
@ -1,10 +1,11 @@
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
ODIR = obj
|
ODIR = obj
|
||||||
|
DEPS = nms.h
|
||||||
|
|
||||||
_OBJ = nms.o
|
_OBJ = nms.o
|
||||||
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
|
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
|
||||||
|
|
||||||
$(ODIR)/%.o: %.c
|
$(ODIR)/%.o: %.c $(DEPS)
|
||||||
$(CC) -c -o $@ $<
|
$(CC) -c -o $@ $<
|
||||||
|
|
||||||
nms: $(OBJ)
|
nms: $(OBJ)
|
||||||
|
Loading…
Reference in New Issue
Block a user