Skip to content

Commit

Permalink
Merge pull request #18 from hyattpd/revert-16-GoogleImport
Browse files Browse the repository at this point in the history
Revert "Added target to Makefile to build static executable"
  • Loading branch information
hyattpd committed Feb 12, 2016
2 parents 6871494 + 513f523 commit 004218f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,18 @@ CC = gcc
CFLAGS += -pedantic -Wall -O3
LFLAGS = -lm $(LDFLAGS)

TARGET = prodigal
STARGET = prodigal.static
TARGET = prodigal
SOURCES = $(shell echo *.c)
HEADERS = $(shell echo *.h)
OBJECTS = $(SOURCES:.c=.o)

INSTALLDIR = /usr/local/bin

all: $(TARGET) $(STARGET)
all: $(TARGET)

$(TARGET): $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS)

$(STARGET): $(OBJECTS)
$(CC) -static $(CFLAGS) -o $@ $^ $(LFLAGS)

%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -c -o $@ $<

Expand Down

0 comments on commit 004218f

Please sign in to comment.