{"id":1057,"date":"2016-01-24T11:27:01","date_gmt":"2016-01-24T11:27:01","guid":{"rendered":"http:\/\/coolt.ch\/notizen\/?p=1057"},"modified":"2016-01-24T11:28:18","modified_gmt":"2016-01-24T11:28:18","slug":"makefile","status":"publish","type":"post","link":"https:\/\/coolt.ch\/notizen\/makefile\/","title":{"rendered":"Makefile"},"content":{"rendered":"<p>&nbsp;<\/p>\n<pre> # the compiler: gcc for C program, define as g++ for C++\r\n  CC = gcc\r\n\r\n  # compiler flags:\r\n  #  -g    adds debugging information to the executable file\r\n  #  -Wall turns on most, but not all, compiler warnings\r\n  CFLAGS  = -g -Wall\r\n\r\n  # the build target executable:\r\n  TARGET = myprog\r\n\r\n  all: $(TARGET)\r\n\r\n  $(TARGET): $(TARGET).c\r\n     $(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c\r\n\r\n  clean:\r\n          $(RM) $(TARGET)<\/pre>\n<p>Makefiles kann man mit <a href=\"http:\/\/coolt.ch\/notizen\/cmake-introduction\/\">Cmake<\/a> automatisch generieren lassen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; # the compiler: gcc for C program, define as g++ for C++ CC = gcc # compiler flags: # -g adds debugging information to the executable file # -Wall turns on most, but not all, compiler warnings CFLAGS = -g -Wall # the build target executable: TARGET = myprog all: $(TARGET) $(TARGET): $(TARGET).c $(CC) &hellip; <a href=\"https:\/\/coolt.ch\/notizen\/makefile\/\" class=\"more-link\"><span class=\"screen-reader-text\">Makefile<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[38],"tags":[],"_links":{"self":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/1057"}],"collection":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/comments?post=1057"}],"version-history":[{"count":4,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/1057\/revisions"}],"predecessor-version":[{"id":1171,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/1057\/revisions\/1171"}],"wp:attachment":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/media?parent=1057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/categories?post=1057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/tags?post=1057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}