/usr/lib/ats-anairiats-0.2.11/contrib/SDL/Makefile is in ats-lang-anairiats 0.2.11-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | #
# Author: Hongwei Xi (hwxi AT cs DOT bu DOT edu)
# Time: January, 2010
#
######
ATSHOMEQ="$(ATSHOME)"
ATSCC=$(ATSHOMEQ)/bin/atscc -Wall
SDLCFLAGS=`sdl-config --cflags`
######
all:: atsctrb_SDL.o
all:: clean
######
OBJECTS := \
SDL_sats.o \
SDL_dats.o \
SDL_image_sats.o \
SDL_ttf_sats.o \
######
atsctrb_SDL.o: $(OBJECTS) ; ld -r -o $@ $(OBJECTS)
######
SDL_sats.o: \
SATS/SDL.sats \
SATS/SDL_thread.sats \
SATS/SDL_timer.sats \
SATS/SDL_video.sats
$(ATSCC) $(SDLCFLAGS) -o $@ -c SATS/SDL.sats
SDL_dats.o: DATS/SDL.dats
$(ATSCC) $(SDLCFLAGS) -o $@ -c DATS/SDL.dats
######
SDL_image_sats.o: SATS/SDL_image.sats
$(ATSCC) $(SDLCFLAGS) -o $@ -c SATS/SDL_image.sats
######
SDL_ttf_sats.o: SATS/SDL_ttf.sats
$(ATSCC) $(SDLCFLAGS) -o $@ -c SATS/SDL_ttf.sats
######
RMF=rm -f
######
clean:: ; $(RMF) SDL_sats.c SDL_sats.o
clean:: ; $(RMF) SDL_dats.c SDL_dats.o
clean:: ; $(RMF) SDL_image_sats.c SDL_image_sats.o
clean:: ; $(RMF) SDL_ttf_sats.c SDL_ttf_sats.o
cleanall: clean ; $(RMF) atsctrb_SDL.o
###### end of [Makefile] ######
|