A1Emu/Makefile

19 lines
241 B
Makefile
Raw Normal View History

2019-03-11 21:06:04 +00:00
CC = gcc
CFLAGS = -O3
default: cpu.o cpu.h emulate.c
2019-12-17 22:39:42 +00:00
$(CC) $(CFLAGS) cpu.o emulate.c -lncurses -o A1Emu
2019-03-11 21:06:04 +00:00
cpu.o: cpu.c cpu.h
$(CC) $(CFLAGS) -c cpu.c
ifeq ($(OS),Windows_NT)
clean:
del A1Emu.exe cpu.o
else
clean:
rm A1Emu cpu.o
endif