aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 213772645d163ce5de18bd24084e58f937acead3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
GENERICOBJECTS = main.o general.o memfile.o xml.o endian.o
MAINOBJECTS = brlyt.o brlan.o
OBJECTS = $(GENERICOBJECTS) $(MAINOBJECTS)
LIBS = -L. -lmxml
OUTPUT = benzin
all: $(OUTPUT)
%.o: %.c
	gcc -fno-strict-aliasing -c -o $@ $<
$(OUTPUT): $(OBJECTS)
	gcc  -o $(OUTPUT) $(LIBS) $(OBJECTS)
clean:
	rm -f $(OUTPUT) $(OBJECTS)