aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 9a7c848990cce8d96d906b270f8847d4bd112028 (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 -m32 -c -o $@ $<
$(OUTPUT): $(OBJECTS)
	gcc -m32 -o $(OUTPUT) $(LIBS) $(OBJECTS)
clean:
	rm -f $(OUTPUT) $(OBJECTS)