dos33fsprogs/ksp/c/Makefile

47 lines
922 B
Makefile
Raw Normal View History

2016-03-17 04:06:52 +00:00
CC = gcc
CFLAGS = -Wall -O2
LFLAGS = -lm
2016-03-17 04:06:52 +00:00
all: ksp_acpx ksp_atan ksp_drag ksp_launch ksp_loading ksp_vab
2016-05-24 18:12:05 +00:00
ksp_acpx: ksp_acpx.o
$(CC) $(LFLAGS) -o ksp_acpx ksp_acpx.o
ksp_acpx.o: ksp_acpx.c
$(CC) $(CFLAGS) -c ksp_acpx.c
2016-04-08 17:39:50 +00:00
ksp_atan: ksp_atan.o
$(CC) $(LFLAGS) -o ksp_atan ksp_atan.o
ksp_atan.o: ksp_atan.c
$(CC) $(CFLAGS) -c ksp_atan.c
ksp_drag: ksp_drag.o
$(CC) $(LFLAGS) -o ksp_drag ksp_drag.o
ksp_drag.o: ksp_drag.c
$(CC) $(CFLAGS) -c ksp_drag.c
2016-04-08 17:39:50 +00:00
ksp_launch: ksp_launch.o
2016-05-25 04:05:01 +00:00
$(CC) $(LFLAGS) -o ksp_launch ksp_launch.o -lm
2016-04-08 17:39:50 +00:00
ksp_launch.o: ksp_launch.c
$(CC) $(CFLAGS) -c ksp_launch.c
2016-03-17 04:06:52 +00:00
2016-03-21 04:48:55 +00:00
ksp_loading: ksp_loading.o
$(CC) $(LFLAGS) -o ksp_loading ksp_loading.o
2016-03-17 04:06:52 +00:00
2016-03-21 04:48:55 +00:00
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
2016-03-17 04:06:52 +00:00
clean:
rm -f *~ *.o ksp_launch ksp_loading ksp_vab ksp_acpx ksp_drag ksp_atan
2016-03-17 04:06:52 +00:00