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
|
||||
ODIR=obj
|
||||
CC = gcc
|
||||
ODIR = obj
|
||||
DEPS = nms.h
|
||||
|
||||
_OBJ = nms.o
|
||||
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
|
||||
|
||||
$(ODIR)/%.o: %.c
|
||||
$(ODIR)/%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $<
|
||||
|
||||
nms: $(OBJ)
|
||||
|
2
src/obj/.gitignore
vendored
2
src/obj/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
*
|
||||
*
|
||||
!.gitignore
|
||||
|
Loading…
Reference in New Issue
Block a user