-
-
Save sirkha/0856fa89fde65ee29e272e5ceeefb3fd to your computer and use it in GitHub Desktop.
splash2 lu makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TARGET = LU | |
OBJS = lu.o | |
CFLAGS = --static -O2 -w | |
LDFLAGS = -lm | |
MACROS = ../../../null_macros/c.m4.null | |
CC = gcc | |
x = * | |
$(TARGET): $(OBJS) | |
$(CC) $(OBJS) $(CFLAGS) -o $(TARGET) $(LDFLAGS) | |
.SUFFIXES: | |
.SUFFIXES: .o .c .C .h .H | |
.H.h: | |
m4 ${MACROS} $*.H > $*.h | |
.C.c: | |
m4 $(MACROS) $*.C > $*.c | |
.c.o: | |
$(CC) -c $(CFLAGS) $*.c | |
.C.o: | |
m4 $(MACROS) $*.C > $*.c | |
$(CC) -c $(CFLAGS) $*.c | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment