Updated Makefile to include the new header file

modified:   src/Makefile
	modified:   src/obj/.gitignore
This commit is contained in:
Brian Barto 2016-04-12 17:15:38 -04:00
parent 3f2b28a352
commit 0567e7f3b6
2 changed files with 5 additions and 4 deletions

View File

@ -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)