blob: 8935970988370b1ef213f75de45e6e2c6c9b3dec [file] [log] [blame]
CC = @CC@
CFLAGS = @CFLAGS@
XINCL = @x_includes@
TOPSRC = @top_srcdir@
DIVINCL = -I$(TOPSRC)/include
all: build
build: build.o
$(CC) $(CFLAGS) -o build build.o
.c.o:
$(CC) -c $(CFLAGS) $(XINCL) $(DIVINCL) -o $*.o $<
depend:
sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
$(CC) $(DIVINCL) $(XINCL) -MM *.c >> tmp_make
mv tmp_make Makefile
clean:
rm -f *.o \#*\# *~ build tmp_make
distclean: clean
rm Makefile
countryclean:
dummy:
### Dependencies: