rpl2elf/Makefile

16 lines
195 B
Makefile
Raw Normal View History

2015-01-24 17:17:48 +01:00
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