a3dab23bac
Added ability to RUN a PGX file and the SYS_EXIT call.
16 lines
277 B
Makefile
16 lines
277 B
Makefile
override CFLAGS = +../../vbcc/config/m68k-foenix -I. -I.. -I../include
|
|
|
|
csources = $(wildcard *.c)
|
|
cobjects = $(subst .c,.o,$(csources))
|
|
|
|
.PHONY: all
|
|
all: $(cobjects)
|
|
|
|
%.o: %.c
|
|
$(CC) -c -o $@ $< $(CFLAGS) $(DEFINES)
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
$(RM) $(aobjects) $(cobjects) *.asm
|