]> git.mxchange.org Git - flightgear.git/blobdiff - Joystick/Makefile
Merged in make system changes from Bob Kuehne <rpk@sgi.com>
[flightgear.git] / Joystick / Makefile
index eb29b39e0d8f7bc409f4c94028ef5118ba11031d..ba6570ffc740b49f49bddd69c540b62f0ba6245d 100644 (file)
@@ -1,7 +1,7 @@
 #---------------------------------------------------------------------------
 # Makefile
 #
-# Written by Curtis Olson, started July 1997.
+# Written by Curtis Olson, started May 1997.
 #
 # Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
 #
 # (Log is kept at end of this file)
 #---------------------------------------------------------------------------
 
-
-TARGET = libJoystick.a
+ARLIBRARY = libJoystick.a
+TARGETS = $(ARLIBRARY)
 
 CFILES = joystick.c
-HFILES = joystick.h
-OFILES = $(CFILES:.c=.o)
-
-
-include ../make.inc
-
-
-CFLAGS = $(FG_CFLAGS)
-
-
-#---------------------------------------------------------------------------
-# Primary Targets
-#---------------------------------------------------------------------------
-
-$(TARGET): $(OFILES)
-       $(AR) rv $(TARGET) $(OFILES)
-       $(RANLIB) $(TARGET)
+CXXFILES = 
 
-all: $(TARGET)
+LDIRT = $(FG_ROOT_LIB)/$(ARLIBRARY)
 
-clean:
-       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
+include $(FG_ROOT_SRC)/commondefs
 
-
-#---------------------------------------------------------------------------
-# Secondary Targets
-#---------------------------------------------------------------------------
-
-include depend
-
-joystick.o:
-       $(CC) $(CFLAGS) -c joystick.c -o $@
-
-
-#---------------------------------------------------------------------------
-# $Log$
-# Revision 1.1  1997/08/29 18:06:53  curt
-# Initial revision.
-#
+include $(COMMONRULES)