mirror of
https://github.com/been-jamming/A1Emu.git
synced 2024-11-23 12:35:45 +00:00
19 lines
241 B
Makefile
19 lines
241 B
Makefile
CC = gcc
|
|
|
|
CFLAGS = -O3
|
|
|
|
default: cpu.o cpu.h emulate.c
|
|
$(CC) $(CFLAGS) cpu.o emulate.c -lncurses -o A1Emu
|
|
|
|
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
|
|
|