rpl2elf/Makefile
2015-01-24 16:17:48 +00:00

16 lines
195 B
Makefile

CC = gcc
CFLAGS = -Wall
ifeq ($(DEBUG), 1)
CFLAGS+=-g -O0
else
CFLAGS+=-O2
endif
TARGET = rpl2elf
OBJS = rpl2elf.o utils.o
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) -lz