| 1 |
#===> sun.makefile |
| 2 |
# |
| 3 |
# Makefile written by Xianjun WANG in March 1994 |
| 4 |
# |
| 5 |
# This Makefile is used to compile the Graphic User Interface(GUI) |
| 6 |
# source code for Sun(Sparc) Station machines. |
| 7 |
# |
| 8 |
# Type "make -f sun.makefile" to compile |
| 9 |
# |
| 10 |
.SUFFIXES: .c .o |
| 11 |
# |
| 12 |
CC = @CC@ |
| 13 |
# |
| 14 |
CFLAGS = @CFLAGS@ @X_CFLAGS@ -I../include -c |
| 15 |
#SRC = auto97.c |
| 16 |
OBJ = auto97.o |
| 17 |
PGM = ../bin/auto97 |
| 18 |
RM = rm -f |
| 19 |
LIBS = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ |
| 20 |
# |
| 21 |
.c.o: |
| 22 |
$(CC) $(CFLAGS) $*.c -o $@ |
| 23 |
# |
| 24 |
$(PGM): $(OBJ) |
| 25 |
$(CC) $(OBJ) -o $@ $(LIBS) |
| 26 |
# |
| 27 |
clean: |
| 28 |
$(RM) *.o *~ |
| 29 |
|