mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-01 05:31:52 +00:00
44 lines
677 B
Makefile
44 lines
677 B
Makefile
CC = gcc
|
|
CFLAGS = -O2 -Wall
|
|
LFLASG =
|
|
|
|
all: 6502_table table_gen z80_volume z80_tone
|
|
|
|
###
|
|
|
|
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_volume: z80_volume.o
|
|
$(CC) $(LFLAGS) -o z80_volume z80_volume.o
|
|
|
|
z80_volume.o: z80_volume.c
|
|
$(CC) $(CFLAGS) -c z80_volume.c
|
|
|
|
###
|
|
|
|
z80_tone: z80_tone.o
|
|
$(CC) $(LFLAGS) -o z80_tone z80_tone.o
|
|
|
|
z80_tone.o: z80_tone.c
|
|
$(CC) $(CFLAGS) -c z80_tone.c
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o z80_volume z80_tone table_gen 6502_table
|
|
|