File: makefile

package info (click to toggle)
numptyphysics 0.3.10-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,788 kB
  • sloc: cpp: 21,126; ansic: 6,298; makefile: 170; python: 135
file content (20 lines) | stat: -rw-r--r-- 257 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TARGET := libglaserl.a

CFLAGS += -g -O2

SOURCES := $(wildcard *.c)
OBJECTS := $(SOURCES:.c=.o)

all: $(TARGET)

$(TARGET): $(OBJECTS)
	$(AR) rcs $@ $^

clean:
	rm -f $(OBJECTS)

distclean: clean
	rm -f $(TARGET)

.PHONY: all clean distclean
.DEFAULT: all