Skip to content
Snippets Groups Projects
Commit 744f70a4 authored by Armin Luntzer's avatar Armin Luntzer
Browse files

initial import

parents
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
CC = gcc
SOURCEDIR = ./
INCLUDES =
BUILDDIR = ./
PATH +=
CFLAGS += -O2 -W -Wall -Wextra #-Wno-unused #-Werror -pedantic
CPPFLAGS := $(INCLUDES)
LDFLAGS := -lpthread -lm -lcfitsio
SOURCES := $(wildcard *.c)
OBJECTS := $(patsubst %.c, $(BUILDDIR)/%.o, $(subst $(SOURCEDIR)/,, $(SOURCES)))
TARGET := ccd_sim
DEBUG?=1
ifeq "$(shell expr $(DEBUG) \> 1)" "1"
CFLAGS += -DDEBUGLEVEL=$(DEBUG)
else
CFLAGS += -DDEBUGLEVEL=1
endif
all: $(SOURCES)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ -o $(TARGET)
clean:
rm -f $(TARGET)
fast CCD simulator for space environments, extracted from SMILE FEE simulator
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment