dos33fsprogs/ksp/c/Makefile
2016-04-08 13:39:50 -04:00

29 lines
509 B
Makefile

CC = gcc
CFLAGS = -Wall -O2
LFLAGS =
all: ksp_launch ksp_loading ksp_vab
ksp_launch: ksp_launch.o
$(CC) $(LFLAGS) -o ksp_launch ksp_launch.o
ksp_launch.o: ksp_launch.c
$(CC) $(CFLAGS) -c ksp_launch.c
ksp_loading: ksp_loading.o
$(CC) $(LFLAGS) -o ksp_loading ksp_loading.o
ksp_loading.o: ksp_loading.c
$(CC) $(CFLAGS) -c ksp_loading.c
ksp_vab: ksp_vab.o
$(CC) $(LFLAGS) -o ksp_vab ksp_vab.o
ksp_vab.o: ksp_vab.c
$(CC) $(CFLAGS) -c ksp_vab.c
clean:
rm -f *~ *.o ksp_launch ksp_loading ksp_vab