File: Makefile.OSF1

package info (click to toggle)
papi 5.7.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,856 kB
  • sloc: ansic: 93,265; fortran: 3,338; xml: 2,460; makefile: 815; sh: 290
file content (16 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PAPIINC = ..
PAPILIB = ../libpapi.a
CC = gcc
CFLAGS = -I$(PAPIINC)
LDFLAGS =  $(PAPILIB) -lrt 

TARGETS = PAPI_set_domain sprofile multiplex PAPI_state PAPI_reset PAPI_profil PAPI_perror PAPI_get_virt_cyc PAPI_get_real_cyc PAPI_get_opt PAPI_hw_info PAPI_get_executable_info PAPI_ipc PAPI_flops PAPI_flips PAPI_overflow PAPI_add_remove_event high_level PAPI_add_remove_events

all: $(TARGETS) 

$(TARGETS):  $$@.c 
	$(CC) $? -o $@ $(CFLAGS)  $(LDFLAGS)

clean:
	rm -f *.o $(TARGETS)