X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Controls%2FMakefile;h=7315b7ade05d8c563793090294b0cb7876cc267d;hb=9205d3928ba4a478897f07cc582f851fd1b370f6;hp=baa1e8bfb4e1fad7dc2e72eaa7aa9ed4aadea5ed;hpb=1adb6fd912c9838ad50f3367a19a5035614b4899;p=flightgear.git diff --git a/Controls/Makefile b/Controls/Makefile index baa1e8bfb..7315b7ade 100644 --- a/Controls/Makefile +++ b/Controls/Makefile @@ -31,8 +31,7 @@ HFILES = controls.h OFILES = $(CFILES:.c=.o) CC = gcc -CFLAGS = -g -Wall -# CFLAGS = -O2 -Wall +CFLAGS = $(FG_CFLAGS) AR = ar @@ -50,6 +49,9 @@ $(TARGET): $(OFILES) all: $(TARGET) +dep: + $(CC) -MM *.c > depend + clean: rm -f *.o $(TARGET) lib*.a *~ core @@ -58,15 +60,17 @@ clean: # Secondary Targets #--------------------------------------------------------------------------- -controls.h: ../limits.h - touch controls.h +include depend -controls.o: controls.c controls.h ../Aircraft/aircraft.h +controls.o: $(CC) $(CFLAGS) $(INCLUDES) -c controls.c #--------------------------------------------------------------------------- # $Log$ +# Revision 1.6 1997/06/26 19:08:29 curt +# Restructuring make, adding automatic "make dep" support. +# # Revision 1.5 1997/06/25 15:39:46 curt # Minor changes to compile with rsxnt/win32. #