mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-08-15 08:27:41 +00:00
pt3: might as well add a Makefile
This commit is contained in:
38
pt3_player/table_gen/Makefile
Normal file
38
pt3_player/table_gen/Makefile
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
CC = gcc
|
||||||
|
CFLAGS = -O2 -Wall
|
||||||
|
LFLASG =
|
||||||
|
|
||||||
|
all: 6502_table table_gen z80_table
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
6502_table: 6502_table.o
|
||||||
|
$(CC) $(LFLASG) -o 6502_table 6502_table.o
|
||||||
|
|
||||||
|
6502_table.o: 6502_table.c
|
||||||
|
$(CC) $(CFLAGS) -c 6502_table.c
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
table_gen: table_gen.o
|
||||||
|
$(CC) $(LFLAGS) -o table_gen table_gen.o
|
||||||
|
|
||||||
|
table_gen.o: table_gen.c
|
||||||
|
$(CC) $(CFLAGS) -c table_gen.c
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
z80_table: z80_table.o
|
||||||
|
$(CC) $(LFLAGS) -o z80_table z80_table.o
|
||||||
|
|
||||||
|
z80_table.o: z80_table.c
|
||||||
|
$(CC) $(CFLAGS) -c z80_table.c
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ *.o z80_table table_gen 6502_table
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user