Passo intermediario, ainda falta um longo caminho
[pspdecompiler.git] / Makefile
blobda3ec5bb2e2e926e449f2322b6d081c793c4ad3d
1 #!/usr/bin/make
3 CC=gcc
4 CFLAGS= -g -O0 -Wall -ansi -pedantic
5 LIBS = -lexpat
7 OBJS = allegrex.o analyser.o decoder.o switches.o subroutines.o liveness.o \
8 structures.o cfg.o dataflow.o operations.o ssa.o graph.o outgraph.o \
9 outcode.o output.o prx.o nids.o hash.o lists.o alloc.o utils.o \
10 constants.o relocs.o module.o main.o
11 TARGET = pspdecompiler
13 all: $(OBJS)
14 $(CC) -o $(TARGET) $(OBJS) $(LIBS)
16 .c.o:
17 $(CC) $(CFLAGS) -c -o $@ $<
20 .PHONY: clean
22 clean:
23 rm -f $(OBJS) $(TARGET)