3
0
mirror of https://github.com/XboxDev/nxdk.git synced 2026-02-04 18:45:53 +00:00
Files
nxdk/tools/vp20compiler/Makefile
2016-01-02 02:27:40 -07:00

24 lines
308 B
Makefile

MAIN = vp20compiler
INCLUDES = $(wildcard *.h)
SRCS = nvvertparse.c \
prog_instruction.c \
main.c
OBJS = $(SRCS:.c=.o)
$(MAIN): $(OBJS)
$(CC) -o '$@' $(OBJS)
%.o: %.c ${INCLUDES}
$(CC) $(CFLAGS) -c -o '$@' '$<'
.PHONY: clean
clean:
rm -f $(OBJS)
.PHONY: distclean
distclean: clean
rm -f $(MAIN)