blob: 3ce9563d19181e6b30b8c540aab9e3c770c0c88b [file] [log] [blame]
#
# Initial simple Makefile for rollog, to be battered into shape later.
#
PROG= rollog
ARCH= -m32
CFLAGS+= -I. $(ARCH) -static
CFLAGS+= -Wall -Werror
SRCS= main.c
OBJS= $(SRCS:.c=.o)
all: $(PROG)
$(OBJS): $(SRCS)
$(PROG): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS)
clean:
rm -f $(PROG) $(OBJS)