mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-05 23:54:33 +00:00
21 lines
314 B
Makefile
21 lines
314 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -O2
|
|
LFLAGS =
|
|
|
|
all: creator offsets
|
|
|
|
creator: creator.o
|
|
$(CC) -o creator creator.o $(LFLAGS)
|
|
|
|
creator.o: creator.c
|
|
$(CC) $(CFLAGS) -c creator.c
|
|
|
|
offsets: offsets.o
|
|
$(CC) -o offsets offsets.o $(LFLAGS)
|
|
|
|
offsets.o: offsets.c
|
|
$(CC) $(CFLAGS) -c offsets.c
|
|
|
|
clean:
|
|
rm -f *.o creator offsets
|